package com.yunxi.dealer.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.dealer.pojo.PartnerInvoiceRecordVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 渠道商开票记录 服务类
 * </p>
 *
 * @author 
 * @since 2019-05-27
 */
public interface PartnerInvoiceRecordDubboService {

    PartnerInvoiceRecordVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(PartnerInvoiceRecordVO partnerInvoiceRecordVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<PartnerInvoiceRecordVO> findPageByVO(PartnerInvoiceRecordVO partnerInvoiceRecordVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<PartnerInvoiceRecordVO> partnerInvoiceRecordVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;
}
